#pragma once
#include "EpilInterpreterBase.h"
#include "EpilFunctionBodyExpressionCode.h"
#include "EpilScriptFunctionObject.h"


class EpilFunctionBodyExpressionInterpreter : public EpilInterpreterBase
{
public:
	EpilFunctionBodyExpressionInterpreter( EpilInterpreter * interpreter );

	EpilScriptFunctionObject *			GetFunction() const								{ return m_function; }

	void								Run( const EpilFunctionBodyExpressionCode * code );

private:
	EpilScriptFunctionObject *			m_function;
};